package com.yangcangclub.trade.bean;

/**
 * Created by user on 2017/2/24.
 */
public enum PayTypeEnum {

    /**微信支付需要区分渠道和商户（退款会涉及）*/
    AliPay(0,"支付宝"),
    WeChatPublicPay(1,"微信公众号"),
    WeChatAppPay(2,"微信APP"),
    AliPayWeb(3,"支付宝WEB")
    ;

    PayTypeEnum(int value,String desc){
        this.value = value;
        this.desc = desc;
    }
    private int value;
    private String desc;

    PayTypeEnum(String desc) {
        this.desc = desc;
    }

    PayTypeEnum(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public String getDesc() {
        return desc;
    }
}
